<?php

namespace App\Model;

use App\Model\Traits\Common;
use App\User;
use Illuminate\Database\Eloquent\Model;

class Article extends Model
{
    use Common;
    //
    protected $fillable = [

      'title','content'

    ];



    //获得点赞的所有用户
//    public function zan(){
//        //多态关联 User表  zan为表名
//        return $this->morphToMany(User::class,'zan');
//    }



}
